﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace ST.Buz.Base.ViewModel
{
	/// <summary>
	/// 注册信息
	/// </summary>
	public class VM_Register
	{
		/// <summary>
		/// 姓名
		/// </summary>
		[Required(ErrorMessage = "姓名不能为空")]
		public string name { get; set; }

		/// <summary>
		/// 手机号
		/// </summary>
		[Required(ErrorMessage = "手机号不能为空")]
		public string mobile { get; set; }

		/// <summary>
		/// 推荐人ID
		/// </summary>
		public string refererid { get; set; }

		/// <summary>
		/// 推荐人姓名或手机号
		/// </summary>
		[Required(ErrorMessage = "推荐人不能为空")]
		public string referer { get; set; }
	}
}
